home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2006 May
/
PCWMAY06.iso
/
Software
/
Toolkit
/
Songbird 0.1
/
Songbird_0_1_0.exe
/
chrome
/
skin2
/
bindings.xml
next >
Wrap
Extensible Markup Language
|
2006-02-06
|
3KB
|
65 lines
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xbl="http://www.mozilla.org/xbl">
<!-- sample custom button control -->
<binding id="samplebutton">
<content>
<xul:multistatebutton>
<xul:groupbox>
<xul:caption label="Sample MultiStateButton"/>
<xul:label value="'State = ' + @multistatebutton_state@"/>
<xul:label value="'Mouse is ' + (@multistatebutton_mouseover@ ? '' : 'not ') + 'over' "/>
<xul:label value="'Mouse button is ' + (@multistatebutton_mousedown@ ? 'down' : 'up')"/>
</xul:groupbox>
</xul:multistatebutton>
</content>
</binding>
<!-- cut corners out of the window region -->
<binding id="windowregion">
<content>
<xul:windowregionset>
<xul:windowregionrect type="add" size="window"/>
<xul:windowregionrect type="sub" size="6,1" anchor="topleft" offsetx="0" offsety="0"/>
<xul:windowregionrect type="sub" size="4,1" anchor="topleft" offsetx="0" offsety="1"/>
<xul:windowregionrect type="sub" size="3,1" anchor="topleft" offsetx="0" offsety="2"/>
<xul:windowregionrect type="sub" size="2,1" anchor="topleft" offsetx="0" offsety="3"/>
<xul:windowregionrect type="sub" size="1,2" anchor="topleft" offsetx="0" offsety="4"/>
<xul:windowregionrect type="sub" size="6,1" anchor="topright" offsetx="0" offsety="0"/>
<xul:windowregionrect type="sub" size="4,1" anchor="topright" offsetx="0" offsety="1"/>
<xul:windowregionrect type="sub" size="3,1" anchor="topright" offsetx="0" offsety="2"/>
<xul:windowregionrect type="sub" size="2,1" anchor="topright" offsetx="0" offsety="3"/>
<xul:windowregionrect type="sub" size="1,2" anchor="topright" offsetx="0" offsety="4"/>
<xul:windowregionrect type="sub" size="6,1" anchor="bottomleft" offsetx="0" offsety="0"/>
<xul:windowregionrect type="sub" size="4,1" anchor="bottomleft" offsetx="0" offsety="1"/>
<xul:windowregionrect type="sub" size="3,1" anchor="bottomleft" offsetx="0" offsety="2"/>
<xul:windowregionrect type="sub" size="2,1" anchor="bottomleft" offsetx="0" offsety="3"/>
<xul:windowregionrect type="sub" size="1,2" anchor="bottomleft" offsetx="0" offsety="4"/>
<xul:windowregionrect type="sub" size="6,1" anchor="bottomright" offsetx="0" offsety="0"/>
<xul:windowregionrect type="sub" size="4,1" anchor="bottomright" offsetx="0" offsety="1"/>
<xul:windowregionrect type="sub" size="3,1" anchor="bottomright" offsetx="0" offsety="2"/>
<xul:windowregionrect type="sub" size="2,1" anchor="bottomright" offsetx="0" offsety="3"/>
<xul:windowregionrect type="sub" size="1,2" anchor="bottomright" offsetx="0" offsety="4"/>
</xul:windowregionset>
</content>
</binding>
<!-- more custom controls here ... -->
</bindings>